<td><input type="checkbox" name="id[]" value="{$vo.id}"></td>
<td>{$vo.id}</td>
<td>{$vo.title}</td>
<td>{$vo.num}</td>
<td>{:config('dispatch_group_status')[$vo.dispatch_group_status]}</td>
<td>{$vo.car_form}</td>
<td>
    <a title="详细资料" href="javascript:;" onclick="driverInfo({$vo.driver_user_id})" style="text-decoration:none">
    {$vo.driver_user_id}:{$vo.realname}
    </a>
</td>
<td>{$vo.driver_confirm?'已确认':'未确认'}</td>
{if !empty($show)}
    {foreach $list_data as $v}
        {if $v['id'] == $vo['id']}
            <td style="text-align: left;width:250px;word-break: break-all;">{$v.booking_people_name}</td>
        {/if}
    {/foreach}
{/if}
<td>{$vo.remark|mb_substr=0,30}</td>
<td>{$vo.comment_praise}</td>
<td>{$vo.comment_negative}</td>
<td>{$vo.go_date?date('Y-m-d H:i:s',$vo.go_date):"--"}</td>
<td>{$vo.end_date?date('Y-m-d H:i:s',$vo.end_date):"--"}</td>

<script>
    function driverInfo(driver_user_id) {
        var url = '/admin/dispatch_traveler_group/details';
        if (!driver_user_id){
            layer.msg('缺少必要的参数');
        }
        $.ajax({
            type: 'get',
            url: url,
            data:{ driver_user_id: driver_user_id },
            success: function (data) {
                if (data.code == 1){
                    layer.msg(data.msg)
                    return false
                }else{
                    layer_open('详细资料','/admin/dispatch_traveler_group/details/driver_user_id/'+driver_user_id,{w:'1300px',h:'750px'})
                }
            }
        })
    }
</script>
